package com.yy.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yy.entity.Inoutpatienttype;
import com.yy.query.RegisterQuery;
import com.yy.service.InoutpatienttypeService;
import com.yy.mapper.InoutpatienttypeMapper;
import org.springframework.stereotype.Service;

/**
* @author 雨
* @description 针对表【inoutpatienttype】的数据库操作Service实现
* @createDate 2024-06-07 11:42:25
*/
@Service
public class InoutpatienttypeServiceImpl extends ServiceImpl<InoutpatienttypeMapper, Inoutpatienttype>
    implements InoutpatienttypeService{

    @Override
    public IPage<Inoutpatienttype> selectiout(RegisterQuery registerQuery) {
        int pageNum= registerQuery.getPageNum();
        int pageSiza= registerQuery.getPageSize();
        Page<Inoutpatienttype> page=new Page<>(pageNum,pageSiza);
        Page<Inoutpatienttype> Ipage=baseMapper.getinoutQuery(page,registerQuery);
        return Ipage;
    }
}




